package cn.topevery.garden.wapi.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class GreProperties {
    /**
     * 是否开启登录解密
     */
    @Value("${hw.enable-login-decrypt}")
    private Boolean enableLoginDecrypt;

    /**
     * 最大登录失败数
     */
    @Value("${hw.max-login-error-number}")
    private Integer maxLoginErrorNumber;

    /**
     * 是否开启强密码检测
     */
    @Value("${hw.strong-password-check}")
    private Boolean strongPasswordCheck;


    @Value("${hw.rsa-public-key}")
    public String rsaPublicKey;
}
